package cn.ht.jywrwater.module.ht.controller.admin.dataImport.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 水质数据 Excel VO
 *
 * @author hzx
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class WaterQualityDataImportExcelVO {
    @ExcelProperty("设备编码")
    private String deviceCode;

    @ExcelProperty("监测值")
    private Double deviceValue;

    @ExcelProperty("采集时间")
    private String dataTimeString;

//    private LocalDateTime dataTime;

    @ExcelProperty("因子编码")
    private String qualityType;

    @ExcelProperty("入库时间")
    private String createTimeString;

//    private LocalDateTime createTime;
}
